import TheoryCourse from './theorycourse.vue'
import theoryCourseAdd from './theorycourseAdd.vue'
import theoryCourseSearch from './theorycourseSearch.vue'
import theoryCourseView from './theorycourseView.vue'

const components = [
    TheoryCourse,
    theoryCourseAdd,
    theoryCourseSearch,
    theoryCourseView
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}
export default main
